/**
 * @author 艾尼亚尔
 * @date 2025/8/7
 * @description 配置
 */
interface AppConfig {
    Title: string;
    COMPANY: string;
    LOCAL_STORAGE_key: string;
    TOKEN_KEY: string;
    TOKEN_PREFIX: string;
    VERSION: string;
    WS_URL: string;
}

export const config: AppConfig = {
    Title: 'NaiveAdmin',
    COMPANY: '新疆碧利雅电子科技有限公司',
    LOCAL_STORAGE_key: import.meta.env.PROD ? 'NADMIN' : 'NA',  // 现代构建工具推荐方式
    TOKEN_KEY: "NA-ACCESS-TOKEN",
    TOKEN_PREFIX: "Bearer ",
    VERSION: 'V2.0.0',
    //WebSocket 地址
    WS_URL: import.meta.env.PROD ? 'wss://127.0.0.1:8093' : 'ws://127.0.0.1:8093'
};

//主题颜色
export const appThemeColors = {
    //菜单背景颜色
    menuInvertedColor: '#202B46',

    primaryColor: '#006EFF',
    primaryColorHover: '#4080FF',
    primaryColorPressed: '#0E42D2',
    primaryColorSuppl: '#4080FF',
    //成功
    successColor: '#00B42A',
    successColorHover: '#23C343',
    successColorPressed: '#009A29',
    successColorSuppl: '#23C343',

    //警告
    warningColor: '#F7BA1E',
    warningColorHover: '#F9CC45',
    warningColorPressed: '#CC9213',
    warningColorSuppl: '#F9CC45',

    //失败
    errorColor: '#F53F3F',
    errorColorHover: '#F76560',
    errorColorPressed: '#CB272D',
    errorColorSuppl: '#F76560',

    //info
    infoColor: '#3491FA',
    infoColorHover: '#57A9FB',
    infoColorPressed: '#206CCF',
    infoColorSuppl: '#57A9FB',
};

//邮箱后缀
export const emails_suffix: Array<string> = [
    "@163.com",
    "@126.com",
    "@qq.com",
    "@sina.com",
    "@sina.cn",
    "@139.com",
    "@189.cn",
    "@yeah.net",
    "@foxmail.com",
    "@sohu.com",
    "@21cn.com",
    "@outlook.com",
    "@hotmail.com",
    "@gmail.com",
    "@yahoo.com",
    "@icloud.com",
    "@aol.com",
    "@protonmail.com",
    "@mail.com",
    "@zoho.com",
    "@aliyun.com"
];